Package com.cisco.pt.ipc.sim.impl
Class TFTPServerImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ProcessImpl
com.cisco.pt.ipc.sim.impl.TFTPServerImpl
- All Implemented Interfaces:
IPCObject,Process,TFTPServer
Information provided by the PKI file:
\class TftpServer
\brief TftpServer handles and manipulates the TFTP service.
\example network().getDevice("Server0").getProcess("TftpServer")
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionTFTPServerImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionbooleanInformation provided by the PKI file:voidsetEnabled(boolean bEnable) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.ProcessImpl
getOwnerDeviceMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Constructor Details
-
TFTPServerImpl
public TFTPServerImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
setEnabled
public void setEnabled(boolean bEnable) Information provided by the PKI file:
\brief Enables or disables the TFTP service. \param bEnable, true to enable the TFTP service, false to disable it.- Specified by:
setEnabledin interfaceTFTPServer- Parameters:
bEnable- Takes in a parameter of bEnable
-
isEnabled
public boolean isEnabled()Information provided by the PKI file:
\brief Returns true if the TFTP service is enabled, otherwise false. \return bool, true if the TFTP service is enabled, otherwise false.- Specified by:
isEnabledin interfaceTFTPServer- Returns:
- boolean Returns a boolean
-